package com.qtest.qandroid.service;

import com.qtest.qandroid.entity.Course;
import com.qtest.qandroid.entity.Result;
import com.qtest.qandroid.entity.SelectCourse;

import java.util.List;

public interface CourseService {
    Result<List<Course>> selectAllCourseFromOneStudent(String userId);

    Course isThereCorrectCode(String joinNumber,String userId);

    void insertSelectCourse(String userId,String courseId,String name);

    void  createNewCourse(Course course);

    void deleteCourse(String courseId);

    void deleteCourse2(String userId,String courseId);


}
